package structures;

import pack.MyReader;

public class FullCardNumber {

	public static int size = 18;
	
	public final EquipmentType cardType;
	public final NationNumeric cardIssuingMemberState;
	public final CardNumber cardNumber;
	
	public FullCardNumber(MyReader reader)
	{
		cardType = new EquipmentType(reader);
		cardIssuingMemberState = new NationNumeric(reader);
		cardNumber = new CardNumber(reader);
	}
	
	public String toString()
	{
		return cardType.toString() + "-" + cardIssuingMemberState.toString() + "-" + cardNumber.toString();
	}
	
}
